import 'package:enterprise_v6_app/app/core/core.dart';

class WorkDetailAllController extends GetxController
    with GetSingleTickerProviderStateMixin {
  /// 作业票id
  late String ticketReceiptId;

  ///流程唯一编码
  late String processEncoding;

  late TabController tabController;

  @override
  void onInit() {
    super.onInit();
    final Map<String, dynamic> argumentsMap =
        Get.arguments as Map<String, dynamic>;
    ticketReceiptId = argumentsMap['ticketReceiptId'] as String;
    processEncoding = argumentsMap['processEncoding'] as String;
    tabController = TabController(length: 2, vsync: this);
    tabController.addListener(update);
  }
}
